Skip to content

Add local agent delegation skill and profile examples#50

Open
Waishnav wants to merge 8 commits into
mainfrom
codex/local-agent-examples
Open

Add local agent delegation skill and profile examples#50
Waishnav wants to merge 8 commits into
mainfrom
codex/local-agent-examples

Conversation

@Waishnav

@Waishnav Waishnav commented Jun 30, 2026

Copy link
Copy Markdown
Owner

Summary

  • Bundle a local-agent-delegation skill and seed it into ~/.devspace/skills during devspace init.
  • Add ~/.devspace/skills loading with bundled fallback behavior.
  • Add packaged local coding-agent profile examples and schema docs.
  • Document that packaged profiles are templates only and are not activated automatically.

Validation

  • npm run typecheck
  • npm test
  • npm run build

Note: npm run build still emits the existing Vite chunk-size warning.

Summary by CodeRabbit

  • New Features
    • Added support for starter local agent profile templates with multiple ready-to-use example workflows (read-only and write-capable).
    • Introduced the experimental local-agent delegation skill, enable via DEVSPACE_LOCAL_AGENTS=1, and seed default skills during setup when enabled.
  • Documentation
    • Expanded skills discovery/config docs, added a local agent profile schema guide, and clarified that packaged example profiles are inert templates.
  • Bug Fixes
    • Improved persistence of the local-agent delegation setting and refined which skills load by default (reducing related collision output).
  • Tests
    • Added coverage for skill discovery/local-agent flags and default skill seeding.
  • Chores
    • Updated package publishing to include examples and skills.

@coderabbitai

coderabbitai Bot commented Jun 30, 2026

Copy link
Copy Markdown

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 044afa18-c906-417b-8474-368c7b929c61

📥 Commits

Reviewing files that changed from the base of the PR and between 89beea9 and 4c43606.

📒 Files selected for processing (5)
  • examples/agents/claude-implementer.md
  • examples/agents/copilot-reviewer.md
  • examples/agents/cursor-agent-worker.md
  • examples/agents/opencode-explorer.md
  • examples/agents/pi-reviewer.md
✅ Files skipped from review due to trivial changes (1)
  • examples/agents/cursor-agent-worker.md
🚧 Files skipped from review as they are similar to previous changes (4)
  • examples/agents/opencode-explorer.md
  • examples/agents/claude-implementer.md
  • examples/agents/copilot-reviewer.md
  • examples/agents/pi-reviewer.md

📝 Walkthrough

Walkthrough

This PR adds a bundled local-agent delegation skill, local agent profile schema and example templates, config and CLI support for seeding and discovering skills, and documentation updates for skill paths and experimental local-agent behavior.

Changes

Local agent delegation feature

Layer / File(s) Summary
Bundled local-agent-delegation skill
skills/local-agent-delegation/SKILL.md
Defines delegation criteria, CLI execution guidance, follow-up prompting, worker templates, verification steps, and safety rules.
Skills directory config and seeding
src/user-config.ts, src/config.ts, src/cli.ts, src/config.test.ts
Adds localAgents, devspaceSkillsDir, and ensureDevspaceDefaultSkills, wires seeding into init output, and extends config tests for seeded skills and persisted experimental config.
Skill discovery path resolution
src/skills.ts, src/skills.test.ts
Changes skill path resolution to consider bundled skills conditionally and filters out local-agent-delegation unless experimental local agents are enabled.
Profile schema and templates
docs/agent-profile-schema.md, examples/agents/*.md, package.json
Adds the local agent profile schema doc, example agent profile templates, and publishes examples and skills in the package.
Documentation updates for skill discovery and examples
docs/configuration.md, docs/gotchas.md, docs/chatgpt-coding-workflow.md
Updates skill discovery, experimental flag, and inert example-template guidance in the user-facing docs.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Possibly related PRs

  • Waishnav/devspace#46: Touches the same src/skills.ts discovery path logic and related skill-loading behavior.

Poem

A rabbit hops through skills at dawn,
Seeds a path where help is spawned.
Profiles wake in templates neat,
With bounded steps and tidy feet. 🐇

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main additions: a bundled local-agent delegation skill and example agent profiles.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/local-agent-examples

Warning

Tools execution failed with the following error:

Failed to run tools: 13 INTERNAL: Received RST_STREAM with code 2 (Internal server error)


Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (2)
skills/local-agent-delegation/SKILL.md (1)

38-51: 🔒 Security & Privacy | 🔵 Trivial

Flag shell-injection risk for any real implementation of this guidance.

The CLI examples interpolate $PROMPT directly into shell command strings (e.g., codex exec --json -C "$WORKSPACE" "$PROMPT"). This is fine as illustrative documentation, but if any actual tool implementation follows this literally with shell-string concatenation rather than passing arguments as an array/exec without a shell, untrusted prompt content could lead to command injection. Worth calling out so future implementers pass $PROMPT/$WORKSPACE as separate argv entries (no shell) rather than building a shell string.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@skills/local-agent-delegation/SKILL.md` around lines 38 - 51, The CLI
guidance examples in SKILL.md should explicitly warn that directly interpolating
$PROMPT or $WORKSPACE into a shell command string is unsafe for real
implementations. Update the CLI execution guidance near the examples to call out
shell-injection risk and instruct implementers to pass arguments as separate
argv entries without a shell, rather than concatenating strings, while keeping
the examples clearly documented as illustrative only.
src/user-config.ts (1)

95-103: 🎯 Functional Correctness | 🔵 Trivial | ⚡ Quick win

devspace init --force doesn't refresh the seeded skill.

ensureDevspaceDefaultSkills never overwrites an existing local-agent-delegation/SKILL.md, even when the CLI is run with --force (the function ignores force entirely — see src/cli.ts Line 144). As the bundled skill content evolves in future releases, existing installs will silently keep stale guidance unless users manually delete the file. Consider threading a force/version-stamp option through so --force can refresh the seeded copy.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/user-config.ts` around lines 95 - 103, ensureDevspaceDefaultSkills
currently short-circuits when local-agent-delegation/SKILL.md already exists, so
seeded skills never refresh on devspace init --force. Update the
ensureDevspaceDefaultSkills flow to accept and honor a force/version-based
refresh signal from the CLI (via src/cli.ts) and overwrite the bundled SKILL.md
when refresh is requested, while preserving the existing no-op behavior when it
is not. Keep the fix centered around ensureDevspaceDefaultSkills,
devspaceSkillsDir, and the local-agent-delegation/SKILL.md write path.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/agent-profile-schema.md`:
- Around line 7-16: The agent profile path wording is inconsistent with the
actual loader behavior. Update the docs that describe where profiles live so
they use DEVSPACE_AGENT_DIR as the canonical path via config.agentDir
(defaulting to ~/.codex), and treat ~/.devspace/agents as only an optional
override/example. Keep the related guidance in agent-profile-schema.md aligned
with the existing wording in configuration.md and gotchas.md, and adjust the
references around the profile/template examples accordingly.

---

Nitpick comments:
In `@skills/local-agent-delegation/SKILL.md`:
- Around line 38-51: The CLI guidance examples in SKILL.md should explicitly
warn that directly interpolating $PROMPT or $WORKSPACE into a shell command
string is unsafe for real implementations. Update the CLI execution guidance
near the examples to call out shell-injection risk and instruct implementers to
pass arguments as separate argv entries without a shell, rather than
concatenating strings, while keeping the examples clearly documented as
illustrative only.

In `@src/user-config.ts`:
- Around line 95-103: ensureDevspaceDefaultSkills currently short-circuits when
local-agent-delegation/SKILL.md already exists, so seeded skills never refresh
on devspace init --force. Update the ensureDevspaceDefaultSkills flow to accept
and honor a force/version-based refresh signal from the CLI (via src/cli.ts) and
overwrite the bundled SKILL.md when refresh is requested, while preserving the
existing no-op behavior when it is not. Keep the fix centered around
ensureDevspaceDefaultSkills, devspaceSkillsDir, and the
local-agent-delegation/SKILL.md write path.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: d155bbc9-3211-414a-becd-71ea38475dc6

📥 Commits

Reviewing files that changed from the base of the PR and between 323d862 and 5fe6957.

📒 Files selected for processing (19)
  • docs/agent-profile-schema.md
  • docs/chatgpt-coding-workflow.md
  • docs/configuration.md
  • docs/gotchas.md
  • examples/agents/claude-implementer.md
  • examples/agents/codex-explorer.md
  • examples/agents/codex-worker.md
  • examples/agents/copilot-reviewer.md
  • examples/agents/cursor-agent-worker.md
  • examples/agents/opencode-explorer.md
  • examples/agents/pi-reviewer.md
  • package.json
  • skills/local-agent-delegation/SKILL.md
  • src/cli.ts
  • src/config.test.ts
  • src/config.ts
  • src/skills.test.ts
  • src/skills.ts
  • src/user-config.ts

Comment thread docs/agent-profile-schema.md Outdated
Copilot AI review requested due to automatic review settings July 1, 2026 07:06

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces an experimental local-agent delegation skill that can be bundled with DevSpace and conditionally exposed, and adds packaged local coding-agent profile examples plus schema documentation to clarify that the profiles are templates only (not automatically activated or executed by DevSpace).

Changes:

  • Add DEVSPACE_EXPERIMENTAL_LOCAL_AGENTS / experimentalLocalAgents config support and wiring to conditionally expose local-agent-delegation.
  • Add skill discovery support for ~/.devspace/skills and a bundled-skills fallback when the experiment is enabled.
  • Package local agent profile example templates under examples/agents/ and document the profile schema and non-goals.

Reviewed changes

Copilot reviewed 19 out of 19 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/user-config.ts Adds experimentalLocalAgents, devspaceSkillsDir(), and ensureDevspaceDefaultSkills() for optional skill seeding.
src/skills.ts Adds ~/.devspace/skills discovery and bundled fallback for local-agent-delegation under the experimental flag.
src/skills.test.ts Extends skill discovery tests to cover .devspace/skills and experimental inclusion of local-agent-delegation.
src/config.ts Adds devspaceSkillsDir and experimentalLocalAgents to ServerConfig and loads from env/config file.
src/config.test.ts Adds coverage for new config fields and ensureDevspaceDefaultSkills() seeding behavior.
src/cli.ts Seeds default skill during init when experimentalLocalAgents is enabled (but currently does not honor the env var).
skills/local-agent-delegation/SKILL.md Introduces the bundled local-agent-delegation skill content and delegation guidance.
package.json Ensures examples/ and skills/ are included in the published package.
examples/agents/pi-reviewer.md Adds a read-only Pi CLI agent profile template.
examples/agents/opencode-explorer.md Adds a read-only OpenCode CLI agent profile template.
examples/agents/cursor-agent-worker.md Adds a write-capable Cursor CLI agent profile template.
examples/agents/copilot-reviewer.md Adds a read-only GitHub Copilot CLI agent profile template.
examples/agents/codex-worker.md Adds a write-capable Codex CLI agent profile template.
examples/agents/codex-explorer.md Adds a read-only Codex CLI agent profile template.
examples/agents/claude-implementer.md Adds a write-capable Claude CLI agent profile template.
docs/gotchas.md Documents ~/.devspace/skills, bundled fallback behavior, and that examples are inert templates.
docs/configuration.md Documents DEVSPACE_EXPERIMENTAL_LOCAL_AGENTS and skill discovery behavior.
docs/chatgpt-coding-workflow.md Documents experimental toggle and inert agent profile examples.
docs/agent-profile-schema.md Adds a detailed schema reference for the (template-only) local agent profile format.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/cli.ts
Comment on lines 136 to 138
publicBaseUrl,
experimentalLocalAgents: files.config.experimentalLocalAgents,
};

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in 5c36d0f.

devspace init now resolves localAgents with env-over-config precedence, so DEVSPACE_LOCAL_AGENTS=1 devspace init seeds the default local-agent skill. This was also updated after the knob rename from the earlier experimental env name.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
src/skills.ts (1)

63-79: 🎯 Functional Correctness | 🔵 Trivial | 💤 Low value

Diagnostics aren't filtered alongside the excluded skill.

When experimentalLocalAgents is false, result.skills is filtered to drop "local-agent-delegation", but result.diagnostics is returned unchanged. If a collision or other diagnostic referencing that skill name is produced by loadSkills (e.g., a user-configured path duplicating the seeded skill), the diagnostic would still surface even though the skill itself is hidden — a confusing, orphaned reference to a skill the user can't see.

Optional: also filter diagnostics referencing the excluded skill
   return {
     skills: result.skills.filter((skill) => skill.name !== "local-agent-delegation"),
-    diagnostics: result.diagnostics,
+    diagnostics: result.diagnostics.filter(
+      (diagnostic) => !("name" in diagnostic) || diagnostic.name !== "local-agent-delegation",
+    ),
   };
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/skills.ts` around lines 63 - 79, In loadWorkspaceSkills, the
non-experimental branch filters out the "local-agent-delegation" skill from
result.skills but leaves related diagnostics intact. Update the return path in
loadWorkspaceSkills (and any helper logic it uses, such as
effectiveSkillPaths/loadSkills results) so diagnostics that reference the
excluded skill are filtered out too, keeping diagnostics consistent with the
visible skills list.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@src/skills.ts`:
- Around line 63-79: In loadWorkspaceSkills, the non-experimental branch filters
out the "local-agent-delegation" skill from result.skills but leaves related
diagnostics intact. Update the return path in loadWorkspaceSkills (and any
helper logic it uses, such as effectiveSkillPaths/loadSkills results) so
diagnostics that reference the excluded skill are filtered out too, keeping
diagnostics consistent with the visible skills list.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 472ff52e-3e63-4170-a15a-11900adf6ba9

📥 Commits

Reviewing files that changed from the base of the PR and between 5fe6957 and 9ee891f.

📒 Files selected for processing (11)
  • docs/agent-profile-schema.md
  • docs/chatgpt-coding-workflow.md
  • docs/configuration.md
  • docs/gotchas.md
  • skills/local-agent-delegation/SKILL.md
  • src/cli.ts
  • src/config.test.ts
  • src/config.ts
  • src/skills.test.ts
  • src/skills.ts
  • src/user-config.ts
✅ Files skipped from review due to trivial changes (3)
  • docs/gotchas.md
  • docs/chatgpt-coding-workflow.md
  • docs/configuration.md
🚧 Files skipped from review as they are similar to previous changes (6)
  • src/config.test.ts
  • src/cli.ts
  • src/skills.test.ts
  • src/config.ts
  • src/user-config.ts
  • docs/agent-profile-schema.md

@Waishnav Waishnav force-pushed the codex/local-agent-examples branch from 9ee891f to 172d8bb Compare July 1, 2026 07:14

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
src/cli.ts (1)

132-150: 🩺 Stability & Availability | 🟡 Minor | ⚡ Quick win

Thread localAgents through devspace init

runInit reads files.config.localAgents, so DEVSPACE_LOCAL_AGENTS=1 never seeds the default skill on a fresh setup, and there’s no init-time prompt to enable it. Read the merged config here or add explicit init-time handling for localAgents.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/cli.ts` around lines 132 - 150, runInit in src/cli.ts is only reading
files.config.localAgents, so the merged env/config value from localAgents is not
being honored during devspace init. Update the init flow to use the merged
config when building the DevspaceUserConfig and when deciding whether to call
ensureDevspaceDefaultSkills(), or add explicit init-time prompting/handling for
localAgents so DEVSPACE_LOCAL_AGENTS=1 can seed the default skill.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@src/cli.ts`:
- Around line 132-150: runInit in src/cli.ts is only reading
files.config.localAgents, so the merged env/config value from localAgents is not
being honored during devspace init. Update the init flow to use the merged
config when building the DevspaceUserConfig and when deciding whether to call
ensureDevspaceDefaultSkills(), or add explicit init-time prompting/handling for
localAgents so DEVSPACE_LOCAL_AGENTS=1 can seed the default skill.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 7a1140c7-010f-4bb8-a820-f2381e918379

📥 Commits

Reviewing files that changed from the base of the PR and between 9ee891f and 172d8bb.

📒 Files selected for processing (11)
  • docs/agent-profile-schema.md
  • docs/chatgpt-coding-workflow.md
  • docs/configuration.md
  • docs/gotchas.md
  • skills/local-agent-delegation/SKILL.md
  • src/cli.ts
  • src/config.test.ts
  • src/config.ts
  • src/skills.test.ts
  • src/skills.ts
  • src/user-config.ts
✅ Files skipped from review due to trivial changes (3)
  • docs/gotchas.md
  • docs/configuration.md
  • skills/local-agent-delegation/SKILL.md
🚧 Files skipped from review as they are similar to previous changes (5)
  • src/skills.test.ts
  • src/config.ts
  • src/skills.ts
  • docs/chatgpt-coding-workflow.md
  • docs/agent-profile-schema.md

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
src/user-config.ts (1)

96-103: 🩺 Stability & Availability | 🟠 Major | ⚡ Quick win

No error handling around skill-seeding I/O; a failure aborts runInit after config/auth are already written.

Per the graph evidence in src/cli.ts, ensureDevspaceDefaultSkills() runs after writeDevspaceConfig/writeDevspaceAuth succeed. If mkdirSync/readFileSync/writeFileSync here throw (e.g. permissions, missing bundled source file per the above concern, disk full), the exception propagates out of runInit's try/catch (which only special-cases SetupCancelledError), leaving the user with a written config/auth but an unhandled crash and no explanation, rather than a graceful degraded init.

🛡️ Suggested guard
 export function ensureDevspaceDefaultSkills(env: NodeJS.ProcessEnv = process.env): string[] {
   const targetPath = join(devspaceSkillsDir(env), "local-agent-delegation", "SKILL.md");
   if (existsSync(targetPath)) return [];

   const sourcePath = new URL("../skills/local-agent-delegation/SKILL.md", import.meta.url);
-  mkdirSync(dirname(targetPath), { recursive: true });
-  writeFileSync(targetPath, readFileSync(sourcePath, "utf8"), { mode: 0o644 });
-  return [targetPath];
+  try {
+    mkdirSync(dirname(targetPath), { recursive: true });
+    writeFileSync(targetPath, readFileSync(sourcePath, "utf8"), { mode: 0o644 });
+    return [targetPath];
+  } catch {
+    return [];
+  }
 }
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/user-config.ts` around lines 96 - 103, Wrap the I/O in
ensureDevspaceDefaultSkills with graceful error handling so a failure does not
crash runInit after writeDevspaceConfig/writeDevspaceAuth have already
succeeded. Catch errors around mkdirSync, readFileSync, and writeFileSync, then
either log a clear warning or return an empty list so setup can continue in a
degraded state. Use the ensureDevspaceDefaultSkills helper as the main fix
point, and keep the existing behavior of returning seeded paths only when the
skill file is actually written.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@src/user-config.ts`:
- Around line 96-103: Wrap the I/O in ensureDevspaceDefaultSkills with graceful
error handling so a failure does not crash runInit after
writeDevspaceConfig/writeDevspaceAuth have already succeeded. Catch errors
around mkdirSync, readFileSync, and writeFileSync, then either log a clear
warning or return an empty list so setup can continue in a degraded state. Use
the ensureDevspaceDefaultSkills helper as the main fix point, and keep the
existing behavior of returning seeded paths only when the skill file is actually
written.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 9ab34d00-407e-4f6a-9bbc-99d9ccb2bf33

📥 Commits

Reviewing files that changed from the base of the PR and between 172d8bb and 89beea9.

📒 Files selected for processing (6)
  • skills/local-agent-delegation/SKILL.md
  • src/cli.ts
  • src/config.test.ts
  • src/skills.test.ts
  • src/skills.ts
  • src/user-config.ts
✅ Files skipped from review due to trivial changes (1)
  • skills/local-agent-delegation/SKILL.md
🚧 Files skipped from review as they are similar to previous changes (4)
  • src/skills.test.ts
  • src/skills.ts
  • src/cli.ts
  • src/config.test.ts

@Waishnav

Waishnav commented Jul 1, 2026

Copy link
Copy Markdown
Owner Author

CodeRabbit: diagnostics for hidden local-agent skill

Addressed in afd6694.

When localAgents is false, DevSpace now filters diagnostics for collisions where collision.resourceType === "skill" and collision.name === "local-agent-delegation", matching the hidden skill list. Added regression coverage for this case.

@Waishnav

Waishnav commented Jul 1, 2026

Copy link
Copy Markdown
Owner Author

CodeRabbit: shell interpolation note in local-agent skill docs

Addressed in 89beea9.

The CLI examples now explicitly say they are illustrative and that real implementations should pass workspace/prompt values as separate argv entries without a shell, instead of concatenating untrusted prompt text into shell command strings.

@Waishnav

Waishnav commented Jul 1, 2026

Copy link
Copy Markdown
Owner Author

CodeRabbit: devspace init --force seeded skill refresh

Intentionally not changed in this PR.

ensureDevspaceDefaultSkills still avoids overwriting an existing seeded skill because that file is user-editable. Overwriting it during devspace init --force could silently destroy local changes. If we want refresh semantics later, I think it should be explicit/versioned rather than bundled into this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants